home *** CD-ROM | disk | FTP | other *** search
/ .net 2000 August / NET74.ISO / pc / Software / JavaApplet / AnfyMacBeta1.sea / Anfy for Macintosh / anjavapp / life2d / life2d.txt < prev    next >
Encoding:
Text File  |  1999-07-05  |  4.3 KB  |  101 lines  |  [TEXT/ttxt]

  1.  
  2.           Anfy Life2d - Copyright (C) by Fabio Ciucci 1996-99
  3.  
  4.  
  5. This applet can generate and simulate in realtime a popular Artificial Life,
  6. Conway algorythm. The result is a sort of unicellular life. This applet
  7.  is fully parametrized, so you can change many things to adapt the
  8. effect to your pages and purposes.
  9.  
  10. ************************************************************************
  11.  
  12. NECESSARY FILES.
  13.  
  14. Apart from an optional overlay image, the following 3 ".class" files 
  15. must be uploaded: 
  16.  
  17. life2d.class
  18. Lware.class
  19. anfy.class
  20.  
  21. Plus, life2d.jar for speedy loading on recent browsers.
  22.  
  23. ************************************************************************
  24.  
  25. EXAMPLE.
  26.  
  27. Insert the <applet> tag in your html document as follows to add this applet
  28. to your page (Comments after the ";" symbol are code explanations and
  29. acceptable min/max values. They are not part of the applet language):
  30.  
  31.  
  32. <applet archive="life2d.jar" code="life2d.class" width="200" height="180">
  33. <param name="credits" value="Applet by Fabio Ciucci (www.anfyteam.com)">
  34. <param name="regcode" value="NO">          ; Registration code (if you have it)
  35. <param name="reglink" value="NO">          ; Optional URL link when the applet
  36.                                            is "clicked".
  37. <param name="regnewframe" value="YES">         ; Reglink opened in new frame?
  38. <param name="regframename" value="_blank">     ; Name of new frame for reglink
  39. <param name="statusmsg" value="Life2d applet"> ; Statusbar message
  40. <param name="res" value="2">                   ; Resolution (1-8)
  41. <param name="backR" value="20">           ; RED comp. of backg. colour (0-255)
  42. <param name="backG" value="20">           ; GREEN comp. of backg. colour (0-255)
  43. <param name="backB" value="230">          ; BLUE comp. of backg. colour (0-255)
  44. <param name="foreR" value="250">          ; RED comp. of foregr. colour (0-255)
  45. <param name="foreG" value="250">          ; GREEN comp. of foregr. colour (0-255)
  46. <param name="foreB" value="60">           ; BLUE comp. of foregr. colour (0-255)
  47. <param name="ldensity" value="2">         ; Initial life density (1-9)
  48. <param name="overimg" value="NO">         ; Optional image over applet
  49. <param name="overimgX" value="0">         ; Over image X offset
  50. <param name="overimgY" value="0">         ; Over image Y offset
  51. <param name="memdelay" value="1000">      ; Memory deallocation delay
  52. <param name="priority" value="3">         ; Task priority (1..10)
  53. <param name="MinSYNC" value="10">         ; Min. milliseconds/frame for sync
  54. Your browser doesn't support Java.      ; Msg in no java browsers
  55. </applet>                               ; End of classtag
  56.  
  57. ****************************************************************************
  58.  
  59. INSTRUCTIONS.
  60.  
  61. The following instructions describe how to change parameters:
  62.  
  63. Attempting to change the credits parameter will disable the applet.
  64.  
  65. To activate the reg parameters read the shareware registration notes.
  66. In the "regcode" parameter, place the registration code you purchased
  67.  from the author. If the code is correct and the applet is run from
  68. the registered domain name, you can use "link" parameters to link to a URL
  69. when the applet is "clicked".
  70.  
  71. If you set "regnewframe" to "YES", you can specify a specific frame location
  72. for the reglink:
  73.  
  74. "_blank"  : To load the link in a new blank unnamed browser window.
  75. "_self"   : To load the link into the same window the applet occupies.
  76. "_parent" : To load the link into the immediate FRAMESET parent.
  77. "_top"    : To load the link into the top body of the window.
  78.  
  79. You can also set a custom frame name, such as "myframe1".
  80.  
  81. With the "overimg" parameter you can specify the name of an image that will
  82. be painted over the applet. The best options are transparent GIF images.
  83.  
  84. NOTE: Animated GIF images are supported, but will be displayed as animated
  85. only on latest browsers (Netscape 4 and Explorer 4 or newer).
  86. With "overimgX" and "overimgY" you can center the image over the applet area.
  87.  
  88. The size of the applet is determined by width and height tags.
  89.  
  90. The "res" parameter determines the resolution: with res=1 pixels are small,
  91. but the effect is slow. With res=8 the pixels are too large but effect fast.
  92. The optimum choices are 2-4.
  93.  
  94. You can change the background and foreground colour for best results on
  95. your web page. The RGB values are the same as HTML tags, but in decimal
  96. values.
  97.  
  98. The "ldensity" parameter determines the amount of lifeforms at beginning.
  99.  
  100.  
  101.